package org.example.myleet.p697;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.findShortestSubArray(new int[]{1}));
        Assert.isTrue(2 == solution.findShortestSubArray(new int[]{1, 2, 2, 3, 1}));
        Assert.isTrue(6 == solution.findShortestSubArray(new int[]{1,2,2,3,1,4,2}));
    }
}
